package com.xiaoxu.rental.util;

import cn.hutool.extra.pinyin.PinyinUtil;

/**
 * @Title: PinYinUtils
 * @Author Mr.Xu
 * @Package com.xiaoxu.rental.util
 * @Date 2024/7/27 17:00
 * @description:
 */

public class PinYinUtils {
    public static String getPinYin(String str){
        return PinyinUtil.getFirstLetter(str, "").toUpperCase();
    }


}
